package com.example.news.pojo.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "用户邮箱登录对象")
@Data
public class EmailLoginForm {

    @Schema(description = "登录用户邮箱")
    @NotEmpty(message = "登录用户邮箱不能为空")
    private String email;

    @Schema(description = "验证码")
    @NotEmpty(message = "验证码不能为空")
    private String captcha;
}
